package com.itheima.service.impl;

import com.itheima.dao.IAccountDao;
import com.itheima.dao.impl.AccountDaoImpl;
import com.itheima.service.IAccountService;

import java.util.Date;

public class AccountServiceImpl implements IAccountService {

    private String name;
    private Integer age;
    private Date birthday;


    /**
     * 业务层调用持久层
     */
   private IAccountDao accountDao = new AccountDaoImpl();
    public void saveAccount() {

        System.out.println("service层的实现类中的方法被调用了");
    }
}
